
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
<template>
  <div class="h100 p20 f f-col bg-white">
    <div class="h100 round center">
      <p class="f j-e t3 f12" @click="$link('./pricehost')">
        <span>零钱明细</span>
      </p>
      <br>
      <br>
      <br>
      <br>
      <div
        class="r-50 b1 cfff round100 auto mt20 f26 b"
        style="width:1.5rem;height:1.5rem;line-height:1.3rem;background:#ffda8f;border:.15rem solid #ffd279;"
      >￥</div>
      <h1 class="m10 f20">{{datas.settledAmount}}</h1>
      <p class="t3">我的零钱</p>
      <mu-button
        class="b3 pl20 pr20 mt20"
        color="primary"
        round
        large
        @click="$link('./setpassword')"
      >提现</mu-button>
    </div>
    <div class="round center t3" @click="$link('./question')">常见问题</div>
  </div>
</template>

<script>
import { accountInquiry } from "@/http/api";
export default {
  data() {
    return {
      datas:{}
    };
  },
  created(){
    this.getAccountInquiry()
  },
  methods: {
    getAccountInquiry(){
      accountInquiry().then((res)=>{
        if(res.code === 200){
          this.datas = res.result
        }
      })
    }
  }
};
</script>

